package me.dracen.web

import org.springframework.stereotype.Controller
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.ResponseBody

/**
 * Created by liuzinong on 2017/5/16.
 */
@RequestMapping("test")
@Controller
class TestController {

    @RequestMapping
    @ResponseBody
    def test() {
        1..5
    }

}
